class Customer < ActiveRecord::Base
  has_many :bookings
  
  validates_presence_of :name, :phone, :post_code, :city, :country
  validates_uniqueness_of :name
end
